#ifndef NEWPLAYERDLG_H
#define NEWPLAYERDLG_H

#include <QDialog>

namespace Ui {
    class NewPlayerDlg;
}

class NewPlayerDlg : public QDialog
{
    Q_OBJECT

  public:
    static QString getNewPlayerName(QWidget *parent=0);

  public slots:
    void onOkay();
    void onCancel();

  protected:
    void closeEvent(QCloseEvent *e);

  private:
    explicit NewPlayerDlg(QWidget *parent = 0);
    ~NewPlayerDlg();

    Ui::NewPlayerDlg *ui;
};

#endif // NEWPLAYERDLG_H
